<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<div id="regBox">
    <form:form commandName="user" action="${contextPath}register/" method="POST">
        <form:label path="login">Логин:</form:label>
        <form:input path="login"/><br/>
        <form:label path="password">Пароль:</form:label>
        <form:input path="password"/><br/>

        <label for="re_password">Повтор пароля:</label>
        <input type="text" id="re_password" name="re_password" /><br/>

        <form:label path="firstname">Имя:</form:label>
        <form:input path="firstname"/><br/>
        <form:label path="lastname">Фамилия:</form:label>
        <form:input path="lastname"/><br/>
        <form:label path="info">Инфо:</form:label>
        <form:textarea path="info"></form:textarea><br/>
        <input type="submit" value="Отправить"/>
    </form:form>
</div>